import java.awt.Color;


public class MgProjectile implements MgCommon{
	private int movement;
	private int damage;
	private int size;
	private Color color;
	private int dx;
	private int dy;
	private int x;
	private int y;
	
	public MgProjectile(int x,int y, int dx, int dy, int movement, int damage, int size, Color color){
		this.movement = movement;
		this.x = x;
		this.y = y;
		this.dx = dx;
		this.dy = dy;
		this.damage = damage;
		this.size = size;
		this.color = color;
	}
	
	public void move(){
		x+=movement*dx;
		y+=movement*dy;
	}
	public Color getColor(){
		return color;
	}
	public int getSize(){
		return size;
	}
	public int getDamage(){
		return damage;
	}
	public int getX(){
		return x;
	}
	public int getY(){
		return y;
	}
}
